cmake_minimum_required(VERSION 3.12)
project(sim)
set(CMAKE_BUILD_TYPE release)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_PREFIX_PATH "C:/Users/xd15zhn/Documents/cpplibraries")
find_package(ege REQUIRED)
find_package(simucpp REQUIRED)
add_executable(${CMAKE_PROJECT_NAME}
    # ${PROJECT_SOURCE_DIR}/cppcode/test.cpp
    # ${PROJECT_SOURCE_DIR}/cppcode/singleip.cpp
    ${PROJECT_SOURCE_DIR}/cppcode/seriespid.cpp
    # ${PROJECT_SOURCE_DIR}/cppcode/pidtest.cpp
    # ${PROJECT_SOURCE_DIR}/cppcode/doubleip.cpp
)
target_link_libraries(${CMAKE_PROJECT_NAME} PUBLIC
    ${ege_LIBS}
    ${simucpp_LIBS}
)
target_include_directories(${CMAKE_PROJECT_NAME} PUBLIC
    ${ege_INCLUDE_DIRS}
    ${simucpp_INCLUDE_DIRS}
)
